/**
 * @file commander.cpp
 * @author Suk Robert Koh (srkoh87z@gmail.com)
 *
 * @brief 
 */

#include <iostream>
#include "ngine/server/ngineserver.h"

using namespace std;

int main()
{
	cout << "Initializing NGine..." << endl;
	NGineServer::init(5000, 64, 0);
	cout << "NGine initialized" << endl;

	double timeElapsed = 0, timer = NGUtils::timeGetTime();

	while(timeElapsed < 10000)
	{
		timeElapsed += NGUtils::timeGetTime() - timer;
		timer = NGUtils::timeGetTime();
	}

	while(1)
	{
		cout << "main loop" << endl;
	}

	return 0;
}
